package com.google.code.gaeom;

import java.util.concurrent.Future;

/**
 * @author Peter Murray <gaeom@pmurray.com>
 */
public interface LoadKey<C extends LoadKey<C>> extends LoadCommon<C>
{
	interface Single extends LoadKey<Single>
	{
		<T> T now();

		<T> Future<T> later();
	}

	interface Multi extends LoadKey<Multi>
	{
		<T> Iterable<T> now();

		<T> Future<Iterable<T>> later();
	}
}
